<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false"
    CodeFile="Tags.aspx.vb" Inherits="Tags" Title="Untitled Page" %>

<%@ Register Namespace="VRK.Controls" TagPrefix="vrk" Assembly="VRK.Controls" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <h2 class="CommonTitle">
        <asp:Label ID="litHeader" runat="server"></asp:Label>
    </h2>
    <div class="CommonContent">
        <asp:ObjectDataSource ID="dsRelatedTags" runat="server" SelectMethod="GetRelatedTagCloud"
            TypeName="TagLib.Tagging" OldValuesParameterFormatString="original_{0}">
            <SelectParameters>
                <asp:QueryStringParameter Name="tag" QueryStringField="tag" Type="String" />
            </SelectParameters>
        </asp:ObjectDataSource>
        <div id="CommonTagCloud">
            <strong>Related Tags:</strong>
            <vrk:Cloud ID="cldRelatedTags" runat="server" DataSourceID="dsRelatedTags" DataTextField="Name"
                DataTitleField="Weight" DataTitleFormatString="{0} documents" DataWeightField="Weight"
                DataHrefField="URL" CssClass="CommonSidebarTagCloud" ItemCssClassPrefix="CommonTag">
            </vrk:Cloud>
        </div>
        <div class="CommonSearchResultsArea">
            <strong>Tagged Documents:
                <asp:HyperLink ID="lnkRSS" runat="server" ImageUrl="http://www.mises.org/App_Themes/Blue/icons/rss.gif"></asp:HyperLink></strong>
            <asp:GridView ID="gvTaggedPages" runat="server" AutoGenerateColumns="False">
                <Columns>
                    <asp:BoundField DataField="DocumentType" HeaderText="Type" SortExpression="DocumentType" />
                    <asp:HyperLinkField DataNavigateUrlFields="URL" DataTextField="Title" HeaderText="Title"
                        SortExpression="Title" />
                </Columns>
            </asp:GridView>
        </div>
        <h4>
            <a href="/clouds.aspx">
                <img src="http://www.mises.org/App_Themes/Blue/icons/tags.png" alt="Tags" border="0" />
                Mises Tag Clouds</a></h4>
    </div>
</asp:Content>
